const getMenus = (window)=>{
	return [
		{
			label: '导航',
			submenu: [
				{ label: '上一步', accelerator: 'CmdOrCtrl+Left', click: () => window.webContents.goBack() },
				{ label: '下一步', accelerator: 'CmdOrCtrl+Right', click: () => window.webContents.goForward() },
				{ type: 'separator' },
				{ label: '刷新', accelerator: 'CmdOrCtrl+R', click: () => window.webContents.reload() },
			],
		},
		{
			label: '视图',
			submenu: [{ label: '开发者工具', click: () => window.webContents.toggleDevTools() }],
		},
	];
}



module.exports = getMenus